﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace J.Model
{
    /// <summary>
    /// 商户设置表
    /// </summary>
    [Table("CommercialOwner")]
    public class CommercialOwner
    {
        /// <summary>
        /// 商户ID
        /// </summary>
        [Key]
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int MerchantID { get; set; }
        /// <summary>
        /// 商户名称
        /// </summary>
        public string? MerchantName { get; set; }
        /// <summary>
        /// 商户地址
        /// </summary>
        public string? MerchantAddress { get; set; }
        /// <summary>
        /// 商户电话
        /// </summary>
        public string? MerchantTelephone { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? MerchantRemarks { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? MERCHANTDate { get; set; } = DateTime.Now;
    }
}
